#ifndef APPCONFIG_H
#define APPCONFIG_H

#include <wx/wx.h>


class AppConfig
{
public:
    static AppConfig& Get();

    bool IsOverwriteOutputfile() const { return overwrite_output; }
    void SetOverwriteOutputfile(bool overwrite) { overwrite_output = overwrite; }
    bool IsShowAutocmds() const { return show_autocmds; }
    void ShowAutocmds(bool show = true) { show_autocmds = show; }

    bool SaveGenericConfig();

protected:
    AppConfig();
    ~AppConfig();

    bool LoadConfigs();

private:
    bool overwrite_output;
    bool show_autocmds;
};

#endif // APPCONFIG_H
